
import 'Definition.dart';

class UserRelationModel extends Definition {
  
	/// 编号
	int? id;
	/// 关系用户id
	int? relation_uid;
	/// 用户id
	int? user_id;
	/// 是否关注
	dynamic is_follow;
	/// 是否加入通讯录
	dynamic is_contact;
	/// 是否允许查看我的动态
	dynamic show_my_moment;
	/// 是否推送他/她的动态给我
	dynamic push_user_moment;

  @override
  Map<String, dynamic> toJson() {
    return {
			"id": id,
			"relation_uid": relation_uid,
			"user_id": user_id,
			"is_follow": is_follow,
			"is_contact": is_contact,
			"show_my_moment": show_my_moment,
			"push_user_moment": push_user_moment,
    };
  }

  @override
  void fromJson(Map<String, dynamic> json) {
		id = json["id"];
		relation_uid = json["relation_uid"];
		user_id = json["user_id"];
		is_follow = json["is_follow"];
		is_contact = json["is_contact"];
		show_my_moment = json["show_my_moment"];
		push_user_moment = json["push_user_moment"];
  }
  
}
  